package com.xhs.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 搜索笔记响应DTO
 *
 * @author xhs
 */
@Data
@Schema(description = "搜索笔记响应")
public class SearchNotesResponse {

    /**
     * 当前页数
     */
    @Schema(description = "当前页数", example = "1")
    private Integer currentPage;

    /**
     * 总找到的图片数量
     */
    @Schema(description = "总找到的图片数量", example = "5")
    private Integer totalCount;

    /**
     * 图片信息列表
     */
    @Schema(description = "图片信息列表")
    private List<ImageInfo> images;

    /**
     * 图片信息
     */
    @Data
    @Schema(description = "图片信息")
    public static class ImageInfo {
        
        /**
         * 图片URL
         */
        @Schema(description = "图片URL")
        private String imageUrl;

        /**
         * 图片本地路径
         */
        @Schema(description = "图片本地路径")
        private String localPath;

        /**
         * 笔记标题
         */
        @Schema(description = "笔记标题")
        private String noteTitle;

        /**
         * 笔记ID
         */
        @Schema(description = "笔记ID")
        private String noteId;

        /**
         * 检测到的二维码类型
         */
        @Schema(description = "检测到的二维码类型")
        private String qrCodeType;
    }
} 